import {NgModule} from '@angular/core';
import {CommonModule} from '@angular/common';
import {FormsModule, ReactiveFormsModule} from '@angular/forms';
import {AdOssUploadService} from '../../lib/service/ad-oss-upload.service';
import {Volidator} from './validator/validator';

import {routing} from './article-manage.routing';
import {Ng2BootstrapModule, PaginationModule} from 'ngx-bootstrap';
import {NotificationModule} from './../../comm-components/notification/notification.module';
import {ArticleListComponent} from './article-list/article-list.component';
import {AddComponent} from './add/add.component';
import {ClassifyListComponent} from './classify-list/classify-list.component';
import {ModifyComponent} from './article-list/modify/modify.component';
import {EditorModule} from "../../comm-components/wangeditor/editor.module";

@NgModule({
  imports: [
    CommonModule,
    FormsModule,
    routing,
    PaginationModule,
    Ng2BootstrapModule,
    ReactiveFormsModule,
    NotificationModule,
    EditorModule
  ],
  declarations: [
    ArticleListComponent,
    AddComponent,
    ClassifyListComponent,
    ModifyComponent,
    Volidator
  ],
  providers: [
    AdOssUploadService
  ]
})
export class ArticleManageModule {
}
